<template>
  <el-dialog width="45%" title="补货详情" :visible="$store.state.dialog.BhDialog" :before-close="handleClose">
  
    <el-table :data="$store.state.dialog.xqList" style="width: 100%">
      <el-table-column prop="channelCode" label="补货标号" width="180"></el-table-column>
      <el-table-column prop="skuName" label="商品" width="180"></el-table-column>
      <el-table-column prop="skuId" label="补货数量"></el-table-column>
      <el-table-column v-if="$store.state.dialog.buman" prop="skuId" label="补满数量">
        <el-input-number v-model="skuId"  size="mini" controls-position="right" @change="handleChange" :min="1" :max="10"></el-input-number>
      </el-table-column>
      <slot name="jsq"></slot>
    </el-table>
  </el-dialog>
</template>

<script>
export default {
  name:'BhDialog',
  props: {},
  data() {
    return {
      skuId:10
    }
  },
  components: {},
  methods: {
    handleClose(){
      this.$store.commit('dialog/updateBhDialog',false)
    },
    handleChange(){}
  },
  computed: {},
  mounted() {},
  watch: {},
}
</script>

<style scoped lang="scss">
</style>
